跳过标题
 

WINS

使用“wins”命令可配置WINS服务器设置。

查看设置

以下命令显示WINS服务器IP地址:

msh> wins

实例输出:

msh> wins

WINS Configuration:

interface_name:

WINS: On

primary server 0.0.0.0 secondary server 0.0.0.0

ScopeID

Current configuration:

primary server 0.0.0.0 secondary server 0.0.0.0

hostname host_name ScopeID

如果从DHCP获得的IP地址与WINS IP地址不同,则DHCP地址为有效地址。

配置

使用“set”命令可设置WINS为有效或无效。

msh> wins interface_name {on | off}

  • “on”表示有效;“off”表示无效。

设置WINS服务器地址

可以设置WINS服务器地址。

msh> wins interface_name {primary | secondary} IP_address

  • “primary”用于设置主WINS服务器地址。

  • “secondary”用于设置次WINS服务器地址。

NBT scope ID设置

可以配置NBT scope ID。

最多可使用31个数字字母输入scope ID。

msh> wins interface_name scope scope_ID

如果从DHCP和WINS接收到不同的scope ID,则来自DHCP的scope ID拥有较高的优先级。

接口名称

要配置的接口

ether

以太网接口